<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<meta name="robots" content="index, follow" />
	<meta name="keywords" content="<?php echo ($seo_keywords); ?>" />
	<meta name="description" content="<?php echo ($seo_description); ?>" />
	<meta name="Copyright" content="Copyright (c) 2015 fuhuaxing.com" />
	<meta name="author" content="<?php echo ($site_name); ?>">
	<meta name="generator" content="GMWork" />
	<title><?php echo ($seo_title); ?>-<?php echo ($site_name); ?></title>

	<link href="http://fonts.useso.com/css?family=Roboto:100,100italic,700,700italic,500,500italic,300,300italic" rel="stylesheet" type="text/css">
	<!-- <link href="http://fonts.googleapis.com/css?family=Roboto:100,100italic,700,700italic,500,500italic,300,300italic" rel="stylesheet" type="text/css">
	-->
	<link rel="stylesheet" href="../Public/css/style.css" />
	<link rel="stylesheet" href="../Public/css/swiper.css" />

	<script src="../Public/js/jquery-1.11.2.min.js"></script>
	<script type="text/javascript">
		var APP	 =	 '__APP__';
		var ROOT =	 '__ROOT__';
		var PUBLIC = '__PUBLIC__';
	</script>
	<script type="text/javascript" src="../Public/js/common.js"></script>
</head>
<body>
<div class="header">
	<div class="wrap">
		<a href="/" class="logo">复华兴</a>
		<div class="nav" id="nav">
			<ul class="clearfix">
				<li <?php if(($bcid) == "0"): ?>class="current"<?php endif; ?>>
					<a href="__ROOT__">Home</a>
				</li>
				<?php if(is_array($Categorys)): $i = 0; $__LIST__ = $Categorys;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$nav): $mod = ($i % 2 );++$i; if(($nav['ismenu']) == "1"): ?><li <?php if(($nav['id']) == $bcid): ?>class="current"<?php endif; ?>>
							<a href="<?php echo ($nav["url"]); ?>" title="<?php echo ($nav["title"]); ?>"><?php echo ($nav["catname"]); ?></a>
						</li><?php endif; endforeach; endif; else: echo "" ;endif; ?>				
			</ul>
		</div>
		<div class="hotline"><?php echo ($site_hotline); ?></div>
		<div class="lang">
			<!-- <a href="#" class="en-us"></a>
		-->
		<a href="#" title="访问中文版" class="zh-cn"></a>
	</div>
</div>
</div>



<div class="banner">
	<div class="swiper-container idx-banner">
		<div class="swiper-wrapper">
			<div class="swiper-slide">
				<img src="../Public/images/banner/1.jpg" alt="" />
			</div>
			<div class="swiper-slide">
				<img src="../Public/images/banner/1.jpg" alt="" />
			</div>
			<div class="swiper-slide">
				<img src="../Public/images/banner/1.jpg" alt="" />
			</div>
		</div>
		<div class="banner-pagination"></div>
		<div class="banner-prev"></div>
		<div class="banner-next"></div>
	</div>
</div>

<div class="wrap">
	<div class="idx-category clearfix">
		<div class="category-item category-1">
			<a href="#" title="Bags">
				<div class="category-title">Package Material</div>
				<div class="category-img"></div>
				<div class="categroy-link"></div>
			</a>
		</div>
		<div class="category-item category-2">
			<a href="#" title="Underwear">
				<div class="category-title">Lingerie / Intimates</div>
				<div class="category-img"></div>
				<div class="categroy-link"></div>
			</a>
		</div>
		<div class="category-item category-3">
			<a href="#" title="Swimming Suit">
				<div class="category-title">Swimwear</div>
				<div class="category-img"></div>
				<div class="categroy-link"></div>
			</a>
		</div>
	</div>

	<div class="idx-hot-products">
		<div class="idx-hot-products-head">
			<h2>Hot Products</h2>
			<ul class="idx-hot-products-tab">
				<li class="cat-tab current" id="0">All</li>
				<?php if(is_array($Categorys)): $i = 0; $__LIST__ = $Categorys;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$cats): $mod = ($i % 2 );++$i; if(($cats['parentid']) == "4"): ?><li class="line">/</li>
						<li class="cat-tab" id="<?php echo ($cats["id"]); ?>"><?php echo ($cats["catname"]); ?></li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
			</ul>
		</div>
		<div class="idx-hot-products-list">
			<div class="idx-hot-products-left">
				
				<div class="swiper-container " id="idx-recommend">
					<div class="swiper-wrapper">
						<div class="swiper-slide">						
							<a href="<?php echo ($recommend["url"]); ?>" title="<?php echo ($recommend["title"]); ?>" target="_blank" class="idx-recommend-item">
								<img src="/fhx/Uploads/201505/556858da9a3e1.jpg" alt=""  onload="app.resizeImg(this);"/>
								<div class="idx-recommend-title">qerqrq qerq rqwrqqerqrq qerq rqwrqqerqrq qerq rqwrqqerqrq qerq rqwrq</div>
							</a>
						</div>
						<div class="swiper-slide">						
							<a href="<?php echo ($recommend["url"]); ?>" title="<?php echo ($recommend["title"]); ?>" target="_blank" class="idx-recommend-item">
								<img src="/fhx/Uploads/201505/556858da3cf28.jpg" alt=""  onload="app.resizeImg(this);"/>
								<div class="idx-recommend-title">qerqrq qerq rqwrq</div>
							</a>
						</div>
						<div class="swiper-slide">						
							<a href="<?php echo ($recommend["url"]); ?>" title="<?php echo ($recommend["title"]); ?>" target="_blank" class="idx-recommend-item">
								<img src="/fhx/Uploads/201505/5558017180487.jpg" alt=""  onload="app.resizeImg(this);"/>
								<div class="idx-recommend-title">qerqrq qerq rqwrq</div>
							</a>
						</div>
					</div>
					<div class="recommend-next"></div>
					<div class="recommend-prev"></div>
				</div>
			
			</div>
			<ul class="clearfix" class="idx-hot-products-items">				
				
				<?php if(is_array($hotproduct)): $i = 0; $__LIST__ = $hotproduct;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$hotproduct): $mod = ($i % 2 );++$i;?><li class="idx-hot-product-item">
						<a href="<?php echo ($hotproduct["url"]); ?>" title="<?php echo ($recommend["title"]); ?>" target="_blank">
							<div class="idx-hot-product-img ">
								<img src="<?php echo ($hotproduct["thumb"]); ?>" alt="<?php echo ($recommend["title"]); ?>" onload="app.resizeImg(this);" />
							</div>
							<div class="idx-hot-product-title"><?php echo ($hotproduct["title"]); ?></div>
						</a>
					</li><?php endforeach; endif; else: echo "" ;endif; ?>
				
			</ul>
			<div class="clearfix"></div>
		</div>
	</div>
</div>

<script src="../Public/js/swiper.min.js"></script>

<script language="javascript"> 
(function($){
	$(function() {
		var mySwiper = new Swiper('.idx-banner',{
			pagination: '.banner-pagination',
			loop:true,
			grabCursor: true,
			paginationClickable: true,
			autoplay : 5000
		});
		$(".banner-prev").on("click",function(e){
			e.preventDefault()
			mySwiper.swipePrev()
		  });
		  $('.banner-next').on('click', function(e){
			e.preventDefault()
			mySwiper.swipeNext()
		  });
		  $(".idx-banner").mouseenter(function(){
		  	$(".banner-prev,.banner-next").stop().fadeIn(300);
		  }).mouseleave(function(){
		  	$(".banner-prev,.banner-next").stop().fadeOut(300);
		  });

		  var recommendSwiper = new Swiper('#idx-recommend',{			
			loop:true,
			autoplayDisableOnInteraction : false,
			preventLinks : true,
			autoplay : 3000
		});
		  $(".recommend-prev").on("click",function(e){
			e.preventDefault()
			recommendSwiper.swipePrev()
		  });
		  $('.recommend-next').on('click', function(e){
			e.preventDefault()
			recommendSwiper.swipeNext()
		  });
		   $("#idx-recommend").mouseenter(function(){
		  	$(".recommend-prev,.recommend-next").stop().fadeIn(300);
		  }).mouseleave(function(){
		  	$(".recommend-prev,.recommend-next").stop().fadeOut(300);
		  });


		  $(".cat-tab").on('click',function(){
		  	var self=$(this),
		  	       cid=self.attr("id");
		  	$.ajax({
		  		url: '<?php echo U("Index/getHotProduct");?>',
		  		type: 'POST',
		  		dataType: 'json',
		  		data: {cid: cid},
		  	})
		  	.done(function(data) {
		  		console.log(data);
		  	})
		  	.fail(function() {
		  		console.log("error");
		  	});
		  	
		  	
		  });
		  
	});
})(jQuery);
</script> 
<div class="footer">
		
	<div class="wrap">
		<div class="foot-icons-out">
			<div class="foot-icons">
				<ul class="clearfix">
					<li>
						<div class="foot-icon foot-icon-1"></div>
						<div class="foot-icon-tit">Right Choice</div>
						<div class="foot-icon-con">
							234234234234234234
							234234234
							234234234
							234234234
							2324234
						</div>			
					</li>
					<li>
						<div class="foot-icon foot-icon-2"></div>
						<div class="foot-icon-tit">Quality Assurance</div>
						<div class="foot-icon-con">
							ADSFASDFASDF
							234234234
							234234234
							234234234
							2324234
						</div>		
					</li>
					<li>
						<div class="foot-icon foot-icon-3"></div>
						<div class="foot-icon-tit">Convenient &amp; Safe</div>
						<div class="foot-icon-con">
							234234234234234234
							234234234
							ASDFASDF
							234234234
							2324234
						</div>		
					</li>
					<li>
						<div class="foot-icon foot-icon-4"></div>
						<div class="foot-icon-tit">Fast Delivery</div>
						<div class="foot-icon-con">
							234234234234234234
							234234234
							234234234
							ASDFASDF
							2324234
						</div>		
					</li>
					<li>
						<div class="foot-icon foot-icon-5"></div>
						<div class="foot-icon-tit">Low Prices</div>
						<div class="foot-icon-con">
							234234234234234234
							AASDFASDF
							234234234
							234234234
							2324234
						</div>		
					</li>
					<li>
						<div class="foot-icon foot-icon-6"></div>
						<div class="foot-icon-tit">Better Service</div>
						<div class="foot-icon-con">
							234234234234234234
							234234234
							234234234
							234234234
							ASDFASDFASDFASDFASDFASDF
						</div>		
					</li>
				</ul>
			</div>
		</div>
		<div class="foot-icon-content">			
			<div class="foot-icon-content-inner">
				Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dicta vitae architecto sed nobis tempore consequatur repellat veritatis eaque expedita quia sapiente exercitationem aliquam, voluptas esse molestiae incidunt hic ab tempora.
			</div>
			<div class="foot-icon-content-arrow"></div>			
		</div>
	</div>
	<div class="wrap">

		<div class="foot-line"></div>
		<div class="foot-menu">
			<ul>
				<li class="foot-aboutus">
					<div class="foot-menu-tit">About Us</div>
					<div class="foot-aboutus-content">
						<p>
	Shenzhen Fuhuaxing Industry &amp; Trading Co., Ltd., with two workshop: one for lingerie and another for swimwear, is a professional manufacturer and exporter concerned with the design, development and production of lingerie and swimwear for around 15 years.
</p>
					</div>
					<div class="foot-menu-more"><a href="#" title="view more">more…</a></div>
				</li>
				<li class="foot-lastpost">
					<div class="foot-menu-tit">Last Post</div>
					<ul class="foot-lastpost-list">
						<li><a href="#">news news news news news news news news news news news news news</a> <span class="date">2015-04-27</span></li>
						<li><a href="#">news news news news news news news news news news</a> <span class="date">2015-04-27</span></li>
						<li><a href="#">news news news news news news news news news news</a> <span class="date">2015-04-27</span></li>
						<li><a href="#">news news news news news news news news news news</a> <span class="date">2015-04-27</span></li>
						<li><a href="#">news news news news news news news news news news</a> <span class="date">2015-04-27</span></li>
					</ul>
					<div class="foot-menu-more"><a href="#" title="view more">more…</a></div>
				</li>
				<li class="foot-links">
					<div class="foot-menu-tit">Help Center</div>
					<ul>
						<li><a href="#">Contact Us</a></li>
						<li><a href="#">Payment &amp; Shipping</a></li>
						<li><a href="#">FAQS</a></li>						
					</ul>
				</li>
				<li class="foot-social">
					<a href="#" class="foot-facebook" target="_blank">facebook</a>
					<a href="#" class="foot-googleplus" target="_blank">google+</a>
					<a href="#" class="foot-twitter" target="_blank">twitter</a>
				</li>
			</ul>
		</div>
		<div class="foot-line"></div>
		<div class="copyright t-c">
			<p>
	Copyright &copy;2015 <a href="http://www.fuhuaxing.com" target="_blank">复华兴工贸</a> , All Rights Reserved
</p>
		</div>
		<div class="powerby t-c">
			powered by
			<a href="http://www.gmwork.cn" target="_blank" title="GMWork">GMWork</a>
		</div>
	</div>
</div>


</body>
</html>